package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 供应商准入表对象 srm_approvals
 * 
 * @author ruoyi
 * @date 2023-12-04
 */
public class SrmApprovals extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private  Long srmID;
    /** 公司下供应商ID */
    @Excel(name = "公司下供应商ID")
    private Long firmID;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Integer approvalStatus;

    /** 是否通过 1通过 2 不通过 */
    @Excel(name = "是否通过 1通过 2 不通过")
    private Integer vendorReview;

    /** 准入条例ID外键 */
    @Excel(name = "准入条例ID外键")
    private Long accRegu;

    /** 提交人ID员工表ID外键 */
    @Excel(name = "提交人ID员工表ID外键")
    private Long userId;

    /** 提交时间 */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime submissionTime;

    /** 更新时间 */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;

    private List<PcmSupplierClause> pcmSupplierClauseList;

    private List<SysUser> sysUserList;

    private List<SysDept> sysDeptList;

    public List<SysUser> getSysUserList() {
        return sysUserList;
    }

    public void setSysUserList(List<SysUser> sysUserList) {
        this.sysUserList = sysUserList;
    }

    public List<SysDept> getSysDeptList() {
        return sysDeptList;
    }

    public void setSysDeptList(List<SysDept> sysDeptList) {
        this.sysDeptList = sysDeptList;
    }

    public List<PcmSupplierClause> getPcmSupplierClauseList() {
        return pcmSupplierClauseList;
    }

    public void setPcmSupplierClauseList(List<PcmSupplierClause> pcmSupplierClauseList) {
        this.pcmSupplierClauseList = pcmSupplierClauseList;
    }

    public Long getSrmID() {
        return srmID;
    }

    public void setSrmID(Long srmID) {
        this.srmID = srmID;
    }

    public void setFirmID(Long firmID)
    {
        this.firmID = firmID;
    }

    public Long getFirmID() 
    {
        return firmID;
    }
    public void setApprovalStatus(Integer approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public Integer getApprovalStatus() 
    {
        return approvalStatus;
    }
    public void setVendorReview(Integer vendorReview) 
    {
        this.vendorReview = vendorReview;
    }

    public Integer getVendorReview() 
    {
        return vendorReview;
    }

    public Long getAccRegu() {
        return accRegu;
    }

    public void setAccRegu(Long accRegu) {
        this.accRegu = accRegu;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSubmissionTime(LocalDateTime submissionTime)
    {
        this.submissionTime = submissionTime;
    }

    public LocalDateTime getSubmissionTime()
    {
        return submissionTime;
    }
    public void setUpdatedTime(LocalDateTime updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public LocalDateTime getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return "SrmApprovals{" +
                "srmID=" + srmID +
                ", firmID=" + firmID +
                ", approvalStatus=" + approvalStatus +
                ", vendorReview=" + vendorReview +
                ", accRegu=" + accRegu +
                ", userId=" + userId +
                ", submissionTime=" + submissionTime +
                ", updatedTime=" + updatedTime +
                ", pcmSupplierClauseList=" + pcmSupplierClauseList +
                ", sysUserList=" + sysUserList +
                ", sysDeptList=" + sysDeptList +
                '}';
    }
}
